Carbon will support the Menu Manager, with the following changes:
* Your application must use the functions defined by the Menu Manager whenever it creates and disposes of Menu Manager data structures. Some applications, for example, create menus by using the Resource Manager function GetResource (instead of the Menu Manager function GetMenu) and dispose of them by calling ReleaseResource instead of DisposeMenu. This practice is not supported in Carbon.
* The MenuInfo structure is opaque in Carbon. You must revise your application so that it accesses Menu Manager data structures only through accessor functions.
* There are several Menu Manager functions that deal with manipulating menu color information tables. Apple recommends that you stop using them. The Appearance Manager generally disregards these color tables and instead uses the colors defined for the current appearance.
* You are strongly encouraged to adopt the standard Mac OS 8 menu definition procedures (also known as MDEFs) in your application. Your menus will then inherit the systemwide appearance and, furthermore, take advantage of other Menu Manager enhancements planned for the future. Note, however, that if you must use custom menu definition procedures, you must compile them as PowerPC-native code.
Use AppendMenu instead.Accessing the MBarHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu bar events instead.The menu bar is not customizable in Carbon.Accessing the MenuHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu events instead.
ChangeMenuItemPropertyAttributes
You should instead use CheckMenuItem.You should instead use CountMenuItems.DeleteMCEntries does nothing, because the Appearance Manager doesn't use color tables.Replaced by DisableMenuItem.Note that the implementation of Carbon on Mac OS 8.1 only supports disabling menu items less than or equal to 31.Accessing the MBarHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu bar events instead.DisposeMCInfo does nothing, because Appearance Manager doesn't use color tables.The menu bar is not customizable in Carbon.Accessing the MenuHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu events instead.Replaced by EnableMenuItem.GetMCEntry does nothing, because Appearance Manager doesn't use color tables.GetMCInfo does nothing, because Appearance Manager doesn't use color tables.You should instead inspect the kMenuExcludesMarkColumn menu attribute using the GetMenuAttributes function.To associate data with a menu item you should instead use the Get/SetMenuItemProperty functions available with the Mac OS 8.5 Menu Manager.Use GetMenuItemText instead.InitMenus is not supported in Carbon. There is no need to initialize the Menu Manager because the shared library is loaded as needed.You must use the standard menu bar definition function (MBDF).Use InsertMenuItem instead.Accessing the MBarHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu bar events instead.The menu bar is not customizable in Carbon.Accessing the MenuHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu events instead.Accessing the MBarHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu bar events instead.The menu bar is not customizable in Carbon.Accessing the MenuHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu events instead.Use MenuSelect instead.Accessing the MBarHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu bar events instead.Accessing the MBarHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu bar events instead.Use NewMenu instead.The menu bar is not customizable in Carbon.The menu bar is not customizable in Carbon.Accessing the MenuHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu events instead.Accessing the MenuHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu events instead.SetMCEntries does nothing, because Appearance Manager doesn't use color tables.SetMCInfo does nothing, because Appearance Manager doesn't use color tables.You should instead set the kMenuExcludesMarkColumn menu attribute using the SetMenuAttributes function.In the future, the Appearance Manager may control menu-flashing behavior.To associate data with a menu item in Carbon, you should instead use the Get/SetMenuItemProperty functions.Use SetMenuItemText instead.Carbon does not support desk accessories.Carbon does not support desk accessories.